package com.ajax;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class AjaxserverApplication {

	public static void main(String[] args) {
		SpringApplication.run(AjaxserverApplication.class, args);
	}
	/*@Bean
	public FilterRegistrationBean<CrosFilter> registrationBean(){
		FilterRegistrationBean registrBean = new FilterRegistrationBean();
		registrBean.addUrlPatterns("/*");
		registrBean.setFilter(new CrosFilter());
		return registrBean;
	}*/
}
